import request from '@/utils/request'

import {baseUrlConfig} from '@/config/config'
const basePath = baseUrlConfig.businessBaseUrl
interface Order{
    column:String;
    method:String;
}

// 获取分页列表
export const passengerPageList = (data:any) => {
    return request({
        url:  basePath + '/passenger/find/page',
        method:'post',
        data:data
    })
}


// 获取总人数
export const passengerSum = () => {
    return request({
        url:  basePath + '/passenger/getCompleted',
        method:'post',
    })
}

//导出
export const getExportFiles = (data: any) => {
    return request({
      responseType: 'blob',
      url: basePath + "/passenger/export",
      method:'post',
      data:data
  })
  }


